GT.cascaded={}
--- 级联阴影开关
---@param is_enable Bool 开关
function GT.cascaded.set_cascaded_shadow_enable(is_enable)
    game_api.set_cascaded_shadow_enable(is_enable)
end

--- 级联阴影层数
---@param levels Int8 层数
function GT.cascaded.set_dynamic_shadow_cascades(levels)
    game_api.set_dynamic_shadow_cascades(levels)
end

--- 级联阴影距离
---@param distance Float 距离
function GT.cascaded.set_dynamic_shadow_distance_movable_light(distance)
    game_api.set_dynamic_shadow_distance_movable_light(distance)
end

--- 阴影距离
---@param distance Float 距离
function GT.cascaded.set_cascaded_shadow_distance(distance)
    game_api.set_cascaded_shadow_distance(distance)
end

--- 获取级联阴影状态
---@return Bool
function GT.cascaded.get_cascaded_shadow_enable()
    return game_api.get_cascaded_shadow_enable()
end

--- 获取级联阴影层数
---@return Int8
function GT.cascaded.get_dynamic_shadow_cascades()
    return game_api.get_dynamic_shadow_cascades()
end

--- 获取级联阴影距离
---@return Float
function GT.cascaded.get_dynamic_shadow_distance_movable_light()
    return game_api.get_dynamic_shadow_distance_movable_light()
end

--- 获取阴影距离
---@return Float
function GT.cascaded.get_cascaded_shadow_distance()
    return game_api.get_cascaded_shadow_distance()
end
